<?php

class Categories_model extends Onecore_Model
{

    public function __construct()
    {
        parent::__construct();
        $this->_name = "categories";
        $this->_id = array("id");
        $this->_fields = array("id","name","description","type_objects_id");
        $this->_fieldsConditions = array("ModuloId"=>"where","name"=>"like","description"=>"like");
        $this->_itemName = "tbl_modulos";
        $this->_validations = array(array("field"=>"name","label"=>"name","rules"=>"required"));
    }
    
}

